package cn.yunhe.entity;

import java.io.Serializable;
import java.util.Date;

public class Question implements Serializable {
    private Integer id;
    private String name;
    private String A;
    private String B;
    private String C;
    private String D;
    private String answer;
    /**
     * 题型
     */
    private QuestionType questionType;
    /**
     * 题库id
     */
    private Field field;
    /**
     * 单试题考试时间;
     */
    private Integer duration;
    /**
     * 是否是要点(重点)
     */
    private Integer points;
    /**
     * 录入时间
     */
    private Date createTime;
    /**
     * 创建者
     */
    private String creator;
    /**
     * 最后一次修改时间
     */
    private Date lastModify;
    /**
     * 出处
     */
    private String reference;
    /**
     * 试题解析
     */
    private String analysis;



    public Question() {
    }



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getA() {
        return A;
    }

    public void setA(String a) {
        A = a;
    }

    public String getB() {
        return B;
    }

    public void setB(String b) {
        B = b;
    }

    public String getC() {
        return C;
    }

    public void setC(String c) {
        C = c;
    }

    public String getD() {
        return D;
    }

    public void setD(String d) {
        D = d;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public QuestionType getQuestionType() {
        return questionType;
    }

    public void setQuestionType(QuestionType questionType) {
        this.questionType = questionType;
    }

    public Field getField() {
        return field;
    }

    public void setField(Field field) {
        this.field = field;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getLastModify() {
        return lastModify;
    }

    public void setLastModify(Date lastModify) {
        this.lastModify = lastModify;
    }

    public String getReference() {
        return reference;
    }

    public void setReference(String reference) {
        this.reference = reference;
    }

    public String getAnalysis() {
        return analysis;
    }


    public void setAnalysis(String analysis) {
        this.analysis = analysis;
    }
}